﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Sys;

namespace Benefit.Interface.Sys
{
    public interface IInstrument
    {
        /// <summary>
        /// 获取所有合约品种
        /// </summary>
        /// <returns></returns>
        List<Instrument> GetList();

        /// <summary>
        /// 保存合约
        /// </summary>
        /// <returns></returns>
        int InsertIntoBenefitFromServer(string productId, string exchangeId, string instrumentid);
        /// <summary>
        /// 获取分析系统里面的合约的编号
        /// </summary>
        /// <param name="Instrument"></param>
        /// <returns></returns>
        int GetInstrumentId(string Instrument);
    }
}